package com.example.demo.service;

import com.alibaba.druid.wall.Violation;
import com.example.demo.entity.Vistor;

import java.util.List;
import java.util.Map;

public interface VistorService {
    int addConsult(Map<String,String> map);

    int updateConsult(Map<String,String> map);

    int del1(int vid);

    int del2(int vid);

    int addMask(Map<String,String> map);

    List<Vistor> showToPage1(Integer startNum,Integer rows);

    List<Vistor> showToPage2(Integer startNum,Integer rows);

    int findTotal1();

    int findTotal2();
}
